//package com.seean.clock.config;
//
//import org.springframework.boot.context.properties.EnableConfigurationProperties;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
///**
// * @authur wsx
// * @date 2019/8/26 15:04
// */
//@Configuration
//@EnableConfigurationProperties(KafkaTopicProperties.class)
//public class KafkaTopicConfiguration {
//
//    private final KafkaTopicProperties properties;
//
//    public KafkaTopicConfiguration(KafkaTopicProperties properties) {
//        this.properties = properties;
//    }
//
//    @Bean
//    public String[] kafkaTopicName() {
//        return properties.getTopicName();
//    }
//
//    @Bean
//    public String topicGroupId() {
//        return properties.getGroupId();
//    }
//
//}
